home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part1 / 6547 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.6 KB

  1. Path: news.ultranet.com!usenet
  2. From: "Albert P. Belle Isle" <belleisl@cerberus-sys.com>
  3. Newsgroups: alt.winsock.trumpet,alt.winsock,comp.dcom.modems
  4. Subject: Re: My ISP's winsock settings?
  5. Date: Thu, 29 Feb 1996 11:59:19 -0500
  6. Organization: Cerberus Systems, Inc.
  7. Message-ID: <3135DB67.6FB6@cerberus-sys.com>
  8. References: <4g38o9$mk5@zoom2.telepath.com> <4ga313$1br@news.onramp.net> <4h41ni$c69@mserv.wizvax.net>
  9. NNTP-Posting-Host: apb-p5-90.cerberus-sys.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (Win16; I)
  14.  
  15. Mark J. Restifo wrote:
  16. > On Mon, 19 Feb 1996 14:56:31 GMT, in alt.winsock, nezsez@onramp.net
  17. > recently put forth:
  18. >         [snip]
  19. > >| If you are sure your provider has enabled default PPP  or Van
  20. > >| Jacobsens' header compression, than you can set the MSS to 3,5, or 8
  21. > >| less than MTU.
  22. >         Is the above a typo? I realize that VJ compression compresses the headers
  23. > only, but that seems like kindof a small gap. Could you elaborate a little?
  24. > Thanks.
  25. > --
  26. > Mark R.
  27. > ===========================
  28. > mrestifo@wizvax.net
  29. > 102444,3171@compuserve.com
  30. > ===========================
  31.  
  32. Mark:
  33.  
  34. This sounds, at first glance, like an interesting trade-off.
  35.  
  36. Single TCP/IP packets (like control packets requesting the opening of a port 
  37. or socket for a subsequent FTP or HTTP file transfer) typically have 20 
  38. bytes of IP header and 20 bytes of TCP header added to the data segment. 
  39.  
  40. Consequently, to avoid their being fragmented to fit its MTU limit by a 
  41. router along the way, the TCP data segment (which is never larger than MSS) 
  42. should be 40 bytes less than that router's MTU.
  43.  
  44. However, Van Jacobson header compression does, indeed, drop the *average* 
  45. header overhead to less than 10 bytes on long streams of packets to the same 
  46. recipient, by only sending the header changes over your CSLIP or PPP link.
  47. With the slow speed of a modem (compared to the Internet) this is a 
  48. noticable gain.
  49.  
  50. Consequently, for local transmission over your CSLIP or PPP modem link, 
  51. while single control packets would be fragmented and slowed, FTP or HTTP 
  52. packet streams would not, giving you slightly higher efficiency where you 
  53. most care about it.
  54.  
  55. Unfortunately, out on the Internet (as opposed to over your local CSLIP or 
  56. PPP link), I believe that "a packet is a packet," and each one in a stream 
  57. can follow a separate route. (This, of course, is the source of out-of-order 
  58. reception and occasional "unnacceptable segment" errors due to slow ACKs).
  59.  
  60. Consequently, in order to avoid IP fragmentation on the routers out on the 
  61. Internet (as opposed to avoiding fragmentation through your CSLIP or PPP 
  62. link), I believe you have to limit TCP data segments to at least 40 bytes 
  63. less than the *smallest* of the router MTUs on the *entire* download path.
  64.  
  65. Unless I'm missing something (which is quite possible), it appears to me 
  66. that the only advantage is that you could further *reduce* your MTU (the 
  67. no-fragmentation limit your winsock announces to your ISP's dial-in server) 
  68. by an additional 30 bytes or so - not increase your MSS by that amount.
  69.  
  70. Why would this artificial MTU limitation be advantageous? Why not just match 
  71. the (larger) IP MTU on your ISP's Local Area Network, and do your TCP tuning 
  72. (MSS and RWIN) as needed for the downloads you do?
  73.  
  74. Any knowledgeable people care to comment?
  75.  
  76. Regards,
  77.  
  78. Al
  79.  
  80. -- 
  81. ==================================================================
  82. Albert P. Belle Isle
  83. Cerberus Systems, Inc.
  84.  
  85. Al's Winsock Tuning FAQ -
  86.        http://www.cerberus-sys.com/~belleisl/mtu_mss_rwin.html
  87. ==================================================================
  88.